/*
 * Shared header constants between the server and client.
 */
package shared;

/**
 *
 * @author freeman
 */
public class HeaderConstants {

    public static int HEADER_SIZE = 1;
    /*
     * hex byte values to specify header types
     */
    public static final byte[] HEADER_INIT = { 0x01 };
    public static final byte[] HEADER_DISCONNECT = { 0x02 };
    public static final byte[] HEADER_CHATMSG_PVT = { 0x03 };
    public static final byte[] HEADER_CHATMSG_PUB = { 0x04 };
    public static final byte[] HEADER_SERVERMSG = { 0x05 };
    public static final byte[] HEADER_SVRACCEPT = { 0x06 };
    public static final byte[] HEADER_KICKED = { 0x07 };
    public static final byte[] HEADER_USERJOINED = { 0x08 };
    public static final byte[] HEADER_USERLEFT = { 0x09 };
    public static final byte[] HEADER_CHANGEUSERNAME = { 0x10 };
    public static final byte[] HEADER_SVRUSRLIST = { 0x11 };
}
